﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace QLCONGNOAPPs.BaseControls
{
    public partial class ucUpdate : UserControl
    {
        
        public event EventHandler PressEdit = null;        
        public event EventHandler PressRefresh = null;        
        public event EventHandler PressHelp = null;
        public event EventHandler PressClose = null;        

        public ucUpdate()
        {
            InitializeComponent();
        }

        private void btnFCapNhat_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            if (PressEdit != null)
            {
                PressEdit(sender, null);
            }
        }

        private void btnFNapLai_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            if (PressRefresh != null)
            {
                PressRefresh(sender, null);
            }
        }

        private void btnFTroGiup_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            if (PressHelp != null)
            {
                PressHelp(sender, null);
            }
        }

        private void btnFDong_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            if (PressClose != null)
            {
                PressClose(sender, null);
            }
        }
    }
}
